module.exports = {
  title: 'Fxu Framework',
  description: '飞絮框架',
  base: '/docs/',
  head: [
    ['link', { rel: 'icon', href: '/favicon.ico' }]
  ],
  themeConfig: {
    logo: '/logo.png',
    // repo: 'iczer/vue-antd-admin',
    docsDir: 'docs',
    editLinks: false,
    nav: [
      {text: '首页', link: '/'},
      {text: '框架简介', link: '/start/use'},
      {text: '开发指南', link: '/develop/SQuery'},
      {text: '自动生成', link: '/generator/info'},
    ],
    lastUpdated: 'Last Updated',
    sidebar: [
      {
        title: '框架简介',
        collapsable: false,
        children: [
          '/start/use', '/start/faq'
        ]
      },
      {
        title: '开发指南',
        collapsable: false,
        children: [
          '/develop/SQuery', '/develop/find', '/develop/save', '/develop/update', '/develop/optiz'
        ]
      },
      {
        title: '通用接口',
        collapsable: false,
        children: [
          '/controller/listPageBy', '/controller/saveBatch'
        ]
      },
      {
        title: '自动生成',
        collapsable: false,
        children: [
          '/generator/info', '/generator/start', '/generator/auto'
        ]
      },
      {
        title: '其它',
        collapsable: false,
        children: [
          '/other/upgrade', '/other/community'
        ]
      }
    ],
    nextLinks: true,
    prevLinks: true,
  },
  plugins: ['@vuepress/back-to-top', require('./plugins/alert')],
  markdown: {
    lineNumbers: true
  }
}
